//
//  LAGTrackFiltLogics.h
//  LAMapBasicDemo
//
//  Created by 罗亮富 on 2017/12/12.
//  Copyright © 2017年 2Bulu. All rights reserved.
//

#include <MapBasics/LAGGeometry.h>

#define MININUM_SHIFT_DISTANCE 20 //必须大于45
#define COORDINATE_SHIFT_FILTER_WINDOW_LENGTH 9//5

//删除飘移点， windowLen 过滤窗口，minumShift 最小偏移,只有两点间距离大于这个值的点才回被考虑
extern unsigned int deleteShiftInPointsSegment(LocationPointsSegmentType seg, unsigned int windowLen, double minumShift);

//卡尔曼滤波
extern void kalmanFilterForSegment(LocationPointsSegmentType seg, double noise);

extern void kalmanDynamicFilterForSegment(LocationPointsSegmentType seg);
